package de.koller.transit.engine.brush;

import java.awt.Graphics2D;

public class BrushPlayer {
	
	public final Brush brush = new Brush();
	public final BrushRender render = new BrushRender( brush );
	public final BrushSteering steering = new BrushSteering( brush );
	
	public void steer( boolean left, boolean right, int elapsedTime ) {
		steering.steer( left, right, elapsedTime );
	}
	
	public void updateBrush( int elapsedTime ) {
		brush.updateThis( elapsedTime );
	}
	
	public void renderBrush( Graphics2D g, int elapsedTime ) {
		render.renderThis( g, elapsedTime );
	}
	
}
